import Layout from "@/view/layout/layout";

export default [
  {
    path: "/jk",
    component: Layout,
    redirect: "/jk/gz",
    name: "app.jk",
    meta: {
      title: "监控管理",
      iconfont: "icon-gaojing"
    },
    children: [
      {
        path: "lxr",
        component: () => import("@/view/pages/jiankong/lianxiren"),
        name: "app.jk.lxr",
        meta: {
          title: "报警联系人"
        }
      },
      {
        path: "gz",
        component: () => import("@/view/pages/jiankong/guize"),
        name: "app.jk.gz",
        meta: {
          title: "告警规则"
        }
      },
      {
        path: "ls",
        component: () => import("@/view/pages/jiankong/lishi"),
        name: "app.jk.ls",
        meta: {
          title: "告警历史"
        }
      },

      {
        path: "addGZ",
        component: () => import("@/view/pages/jiankong/addGZ"),
        name: "app.jk.addGZ",
        meta: {
          title: "新增规则"
        },
        hidden: true
      },
      {
        path: "xgGZ",
        component: () => import("@/view/pages/jiankong/xiugaiGZ"),
        name: "app.jk.xiugaiGZ",
        meta: {
          title: "修改规则"
        },
        hidden: true
      }
    ]
  }
];
